//
//  THJBaseViewController.h
//  THJXHW
//
//  Created by 河南德艺 on 17/3/7.
//  Copyright © 2017年 河南德艺. All rights reserved.
// 哈哈哈哈

#import <UIKit/UIKit.h>


@interface THJBaseViewController : UIViewController

- (void)setUpNav;
-(void)setTableviewWithFrame:(CGRect)frame;
-(UIView*)creatSearchWithPlaceholderTextColor:(UIColor*)color;
-(void)HUDShowMsg:(NSString*)msg AfterDelayDimiss:(double)second;
- (NSString *)removeHTML:(NSString *)html;
- (void)setRightNavBtn;
-(void)alertWithTitle1:(NSString*)title1 title2:(NSString*)title2 title3:(NSString*)title3;
-(void)actionSheetIndex0Function;
-(void)actionSheetIndex1Function;
-(void)actionSheetIndex2Function;
-(NSString*)imgToBase64:(UIImage*)img;
- (NSString *) image2DataURL: (UIImage *) image;
- (void)setNavRightFabuBtn;
-(void)shareWithContent:(NSString*)str Title:(NSString*)title Url:(NSString*)url;
- (void)setTextFieldLeftImageView:(UITextField *)textField leftImageName:(NSString *)imageName;
-(NSString*)getCurrentTime;
-(void)setButtonContentCenter:(UIButton *)button;
- (void)setGoBackBtn;
-(void)setStateBarColor:(UIColor*)color;
-(void)pop;
-(NSString*)timeChangeWithString:(NSString*)tStr;
-(void)setNavBarWithTitle:(NSString*)title;
-(void)setXNavBarWithTitle:(NSString*)title;
-(void)setXClassNavBarWithTitle:(NSString*)title;
-(UITableView*)setTableviewWithFrame:(CGRect)frame RegisterNibNameArr:(NSArray*)nibNameArr ReuseIdentifierArr:(NSArray*)ridArr RowHeight:(NSInteger)rowHeight BgColor:(UIColor*)color IsLoadMore:(BOOL)isLoadMore;
-(void)SVHUDShow;
-(void)SVHUDHiden;
@end
